home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
90%
| dexvert
| Hypertext Markup Language File (text/html)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| HTML document text
| default (weak)
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| exported SGML document text
| default
| |
97%
| file
| exported SGML document, ASCII text
| default
| |
80%
| TrID
| HyperText Markup Language with DOCTYPE
| default
| |
19%
| TrID
| HyperText Markup Language
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| gt2
| HTML (Hyper Text Markup Language) Datei
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/html
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 57 49 | 53 48 20 43 6f 6e 73 74 |ts of WI|SH Const|
|000000b0| 72 75 63 74 69 6f 6e 3c | 2f 54 49 54 4c 45 3e 0a |ruction<|/TITLE>.|
|000000c0| 0a 3c 4d 45 54 41 20 48 | 54 54 50 2d 45 51 55 49 |.<META H|TTP-EQUI|
|000000d0| 56 3d 22 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 22 |V="Conte|nt-Type"|
|000000e0| 20 43 4f 4e 54 45 4e 54 | 3d 22 74 65 78 74 2f 68 | CONTENT|="text/h|
|000000f0| 74 6d 6c 3b 20 63 68 61 | 72 73 65 74 3d 75 74 66 |tml; cha|rset=utf|
|00000100| 2d 38 22 3e 0a 3c 4d 45 | 54 41 20 4e 41 4d 45 3d |-8">.<ME|TA NAME=|
|00000110| 22 76 69 65 77 70 6f 72 | 74 22 20 43 4f 4e 54 45 |"viewpor|t" CONTE|
|00000120| 4e 54 3d 22 77 69 64 74 | 68 3d 64 65 76 69 63 65 |NT="widt|h=device|
|00000130| 2d 77 69 64 74 68 2c 20 | 69 6e 69 74 69 61 6c 2d |-width, |initial-|
|00000140| 73 63 61 6c 65 3d 31 2e | 30 22 3e 0a 3c 4d 45 54 |scale=1.|0">.<MET|
|00000150| 41 20 4e 41 4d 45 3d 22 | 47 65 6e 65 72 61 74 6f |A NAME="|Generato|
|00000160| 72 22 20 43 4f 4e 54 45 | 4e 54 3d 22 4c 61 54 65 |r" CONTE|NT="LaTe|
|00000170| 58 32 48 54 4d 4c 20 76 | 32 30 32 32 22 3e 0a 0a |X2HTML v|2022">..|
|00000180| 3c 4c 49 4e 4b 20 52 45 | 4c 3d 22 53 54 59 4c 45 |<LINK RE|L="STYLE|
|00000190| 53 48 45 45 54 22 20 48 | 52 45 46 3d 22 70 6c 70 |SHEET" H|REF="plp|
|000001a0| 6c 6f 74 2e 63 73 73 22 | 3e 0a 0a 3c 4c 49 4e 4b |lot.css"|>..<LINK|
|000001b0| 20 52 45 4c 3d 22 6e 65 | 78 74 22 20 48 52 45 46 | REL="ne|xt" HREF|
|000001c0| 3d 22 6e 6f 64 65 33 34 | 5f 6d 6e 2e 68 74 6d 6c |="node34|_mn.html|
|000001d0| 22 3e 0a 3c 4c 49 4e 4b | 20 52 45 4c 3d 22 70 72 |">.<LINK| REL="pr|
|000001e0| 65 76 69 6f 75 73 22 20 | 48 52 45 46 3d 22 6e 6f |evious" |HREF="no|
|000001f0| 64 65 33 32 5f 6d 6e 2e | 68 74 6d 6c 22 3e 0a 3c |de32_mn.|html">.<|
|00000200| 4c 49 4e 4b 20 52 45 4c | 3d 22 75 70 22 20 48 52 |LINK REL|="up" HR|
|00000210| 45 46 3d 22 6e 6f 64 65 | 33 32 5f 6d 6e 2e 68 74 |EF="node|32_mn.ht|
|00000220| 6d 6c 22 3e 0a 3c 4c 49 | 4e 4b 20 52 45 4c 3d 22 |ml">.<LI|NK REL="|
|00000230| 6e 65 78 74 22 20 48 52 | 45 46 3d 22 6e 6f 64 65 |next" HR|EF="node|
|00000240| 33 34 5f 6d 6e 2e 68 74 | 6d 6c 22 3e 0a 3c 2f 48 |34_mn.ht|ml">.</H|
|00000250| 45 41 44 3e 0a 20 0a 3c | 42 4f 44 59 20 62 67 63 |EAD>. .<|BODY bgc|
|00000260| 6f 6c 6f 72 3d 22 23 66 | 66 66 66 66 66 22 20 74 |olor="#f|fffff" t|
|00000270| 65 78 74 3d 22 23 30 30 | 30 30 30 30 22 20 6c 69 |ext="#00|0000" li|
|00000280| 6e 6b 3d 22 23 39 39 34 | 34 45 45 22 20 76 6c 69 |nk="#994|4EE" vli|
|00000290| 6e 6b 3d 22 23 30 30 30 | 30 66 66 22 20 61 6c 69 |nk="#000|0ff" ali|
|000002a0| 6e 6b 3d 22 23 30 30 66 | 66 30 30 22 3e 0a 0a 3c |nk="#00f|f00">..<|
|000002b0| 48 32 3e 3c 41 20 49 44 | 3d 22 53 45 43 54 49 4f |H2><A ID|="SECTIO|
|000002c0| 4e 30 33 32 35 31 30 30 | 30 30 30 30 30 30 30 30 |N0325100|00000000|
|000002d0| 30 30 30 30 30 22 3e 0a | 57 49 53 48 20 43 6f 6e |00000">.|WISH Con|
|000002e0| 73 74 72 75 63 74 69 6f | 6e 3c 2f 41 3e 0a 3c 2f |structio|n</A>.</|
|000002f0| 48 32 3e 0a 6d 61 6b 69 | 6e 67 20 61 20 77 69 73 |H2>.maki|ng a wis|
|00000300| 68 0a 0a 3c 50 3e 0a 54 | 68 65 20 73 74 61 6e 64 |h..<P>.T|he stand|
|00000310| 61 72 64 20 77 61 79 20 | 74 6f 20 6d 61 6b 65 20 |ard way |to make |
|00000320| 79 6f 75 72 20 6f 77 6e | 20 57 49 53 48 2c 20 61 |your own| WISH, a|
|00000330| 73 20 73 75 70 70 6f 72 | 74 65 64 20 62 79 20 74 |s suppor|ted by t|
|00000340| 68 65 20 54 63 6c 2f 54 | 6b 0a 73 79 73 74 65 6d |he Tcl/T|k.system|
|00000350| 2c 20 69 73 20 74 6f 20 | 74 61 6b 65 20 61 20 62 |, is to |take a b|
|00000360| 6f 69 6c 65 72 70 6c 61 | 74 65 20 66 69 6c 65 2c |oilerpla|te file,|
|00000370| 20 74 6b 41 70 70 49 6e | 69 74 2e 63 2c 20 65 64 | tkAppIn|it.c, ed|
|00000380| 69 74 20 74 6f 0a 72 65 | 66 6c 65 63 74 20 74 68 |it to.re|flect th|
|00000390| 65 20 54 63 6c 2f 54 6b | 20 65 78 74 65 6e 73 69 |e Tcl/Tk| extensi|
|000003a0| 6f 6e 73 20 79 6f 75 20 | 77 69 6c 6c 20 62 65 20 |ons you |will be |
|000003b0| 72 65 71 75 69 72 69 6e | 67 2c 20 61 64 64 20 73 |requirin|g, add s|
|000003c0| 6f 6d 65 20 63 6f 6d 6d | 61 6e 64 73 0a 74 6f 20 |ome comm|ands.to |
|000003d0| 74 68 65 20 69 6e 74 65 | 72 70 72 65 74 74 65 72 |the inte|rpretter|
|000003e0| 2c 20 61 6e 64 20 6c 69 | 6e 6b 20 69 74 20 61 6c |, and li|nk it al|
|000003f0| 6c 20 74 6f 67 65 74 68 | 65 72 2e 0a 0a 3c 50 3e |l togeth|er...<P>|
|00000400| 0a 48 65 72 65 20 66 6f | 72 20 65 78 61 6d 70 6c |.Here fo|r exampl|
|00000410| 65 20 69 73 20 74 68 65 | 20 69 6d 70 6f 72 74 61 |e is the| importa|
|00000420| 6e 74 20 70 61 72 74 20 | 6f 66 20 74 68 65 20 74 |nt part |of the t|
|00000430| 6b 30 32 20 64 65 6d 6f | 2c 0a 65 78 74 72 61 63 |k02 demo|,.extrac|
|00000440| 74 65 64 20 66 72 6f 6d | 20 74 68 65 20 66 69 6c |ted from| the fil|
|00000450| 65 20 78 74 6b 30 32 2e | 63 2c 20 77 68 69 63 68 |e xtk02.|c, which|
|00000460| 20 69 73 20 65 66 66 65 | 63 74 69 76 65 6c 79 20 | is effe|ctively |
|00000470| 74 68 65 0a 65 78 74 65 | 6e 64 65 64 20 57 49 53 |the.exte|nded WIS|
|00000480| 48 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 66 69 6c |H defini|tion fil|
|00000490| 65 20 66 6f 72 20 74 68 | 65 20 74 6b 30 32 20 64 |e for th|e tk02 d|
|000004a0| 65 6d 6f 2e 20 20 43 6f | 6d 6d 65 6e 74 73 20 61 |emo. Co|mments a|
|000004b0| 6e 64 0a 6f 74 68 65 72 | 20 6d 69 73 63 65 6c 61 |nd.other| miscela|
|000004c0| 6e 79 20 61 72 65 20 6f | 6d 69 74 74 65 64 2e 0a |ny are o|mitted..|
|000004d0| 3c 42 52 3e 0a 3c 49 4d | 47 0a 20 20 53 54 59 4c |<BR>.<IM|G. STYL|
|000004e0| 45 3d 22 22 20 53 52 43 | 3d 22 69 6d 67 31 34 2e |E="" SRC|="img14.|
|000004f0| 70 6e 67 22 0a 20 41 4c | 54 3d 22 5c 62 65 67 69 |png". AL|T="\begi|
|00000500| 6e 7b 65 78 61 6d 70 6c | 65 7d 0a 2e 2e 2e 22 3e |n{exampl|e}....">|
|00000510| 0a 3c 42 52 3e 0a 0a 3c | 50 3e 0a 54 68 65 20 63 |.<BR>..<|P>.The c|
|00000520| 61 6c 6c 73 20 74 6f 20 | 54 63 6c 5f 49 6e 69 74 |alls to |Tcl_Init|
|00000530| 28 29 20 61 6e 64 20 54 | 6b 5f 49 6e 69 74 28 29 |() and T|k_Init()|
|00000540| 20 61 72 65 20 69 6e 20 | 65 76 65 72 79 20 57 49 | are in |every WI|
|00000550| 53 48 2e 0a 54 6f 20 6d | 61 6b 65 20 61 6e 20 65 |SH..To m|ake an e|
|00000560| 78 74 65 6e 64 65 64 20 | 57 49 53 48 2c 20 79 6f |xtended |WISH, yo|
|00000570| 75 20 61 64 64 20 63 61 | 6c 6c 73 20 74 6f 20 74 |u add ca|lls to t|
|00000580| 68 65 20 69 6e 69 74 69 | 61 6c 69 7a 61 74 69 6f |he initi|alizatio|
|00000590| 6e 20 72 6f 75 74 69 6e | 65 73 0a 66 6f 72 20 61 |n routin|es.for a|
|000005a0| 6e 79 20 65 78 74 65 6e | 73 69 6f 6e 20 70 61 63 |ny exten|sion pac|
|000005b0| 6b 61 67 65 73 20 79 6f | 75 20 77 61 6e 74 20 74 |kages yo|u want t|
|000005c0| 6f 20 75 73 65 2c 20 69 | 6e 20 74 68 69 73 20 5b |o use, i|n this [|
|000005d0| 69 6e 63 72 20 54 63 6c | 5d 0a 28 49 74 63 6c 5f |incr Tcl|].(Itcl_|
|000005e0| 49 6e 69 74 28 29 29 20 | 61 6e 64 20 50 4c 70 6c |Init()) |and PLpl|
|000005f0| 6f 74 20 28 50 6c 74 6b | 5f 49 6e 69 74 28 29 29 |ot (Pltk|_Init())|
|00000600| 2e 20 20 46 69 6e 61 6c | 6c 79 20 79 6f 75 20 61 |. Final|ly you a|
|00000610| 64 64 0a 6b 65 79 77 6f | 72 64 73 20 74 6f 20 74 |dd.keywo|rds to t|
|00000620| 68 65 20 69 6e 74 65 72 | 70 72 65 74 74 65 72 2c |he inter|pretter,|
|00000630| 20 61 73 73 6f 63 69 61 | 74 69 6e 67 20 74 68 65 | associa|ting the|
|00000640| 6d 20 77 69 74 68 20 66 | 75 6e 63 74 69 6f 6e 73 |m with f|unctions|
|00000650| 20 69 6e 20 79 6f 75 72 | 0a 63 6f 64 65 20 75 73 | in your|.code us|
|00000660| 69 6e 67 20 54 63 6c 5f | 43 72 65 61 74 65 43 6f |ing Tcl_|CreateCo|
|00000670| 6d 6d 61 6e 64 28 29 20 | 61 73 20 73 68 6f 77 6e |mmand() |as shown|
|00000680| 2e 0a 0a 3c 50 3e 0a 49 | 6e 20 70 61 72 74 69 63 |...<P>.I|n partic|
|00000690| 75 6c 61 72 2c 20 50 4c | 70 6c 6f 74 20 68 61 73 |ular, PL|plot has|
|000006a0| 20 61 20 6e 75 6d 62 65 | 72 20 6f 66 20 5b 69 6e | a numbe|r of [in|
|000006b0| 63 72 20 54 63 6c 5d 20 | 63 6c 61 73 73 65 73 20 |cr Tcl] |classes |
|000006c0| 69 6e 20 69 74 73 20 54 | 63 6c 0a 6c 69 62 72 61 |in its T|cl.libra|
|000006d0| 72 79 2e 20 20 49 66 20 | 79 6f 75 20 77 61 6e 74 |ry. If |you want|
|000006e0| 20 74 6f 20 62 65 20 61 | 62 6c 65 20 74 6f 20 75 | to be a|ble to u|
|000006f0| 73 65 20 74 68 6f 73 65 | 20 69 6e 20 79 6f 75 72 |se those| in your|
|00000700| 20 57 49 53 48 2c 20 79 | 6f 75 20 6e 65 65 64 0a | WISH, y|ou need.|
|00000710| 74 6f 20 69 6e 63 6c 75 | 64 65 20 74 68 65 20 69 |to inclu|de the i|
|00000720| 6e 69 74 69 61 6c 69 7a | 61 74 69 6f 6e 20 6f 66 |nitializ|ation of|
|00000730| 20 5b 69 6e 63 72 20 54 | 63 6c 5d 2e 0a 0a 3c 50 | [incr T|cl]...<P|
|00000740| 3e 0a 57 49 53 48 20 6c | 69 6e 6b 69 6e 67 2c 20 |>.WISH l|inking, |
|00000750| 57 49 53 48 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 |WISH pro|gramming|
|00000760| 2c 20 57 49 53 48 20 63 | 6f 6e 73 74 72 75 63 74 |, WISH c|onstruct|
|00000770| 69 6f 6e 2c 20 43 75 73 | 74 6f 6d 20 45 78 74 65 |ion, Cus|tom Exte|
|00000780| 6e 73 69 6f 6e 73 0a 0a | 3c 48 52 3e 0a 0a 3c 2f |nsions..|<HR>..</|
|00000790| 42 4f 44 59 3e 0a 3c 2f | 48 54 4d 4c 3e 0a |BODY>.</|HTML>. |
+--------+-------------------------+-------------------------+--------+--------+